package com.futvan.z.erp.customer_notice_send_message;
import com.futvan.z.framework.core.z;
import com.futvan.z.framework.util.DateUtil;
import org.springframework.stereotype.Service;
import com.futvan.z.framework.core.SuperService;
@Service
public class Customer_notice_send_messageService extends SuperService{

    public void insertRecordes(String url,String templateCode,String amount){
        customer_notice_message_sends recorde = new customer_notice_message_sends();
        recorde.setRecipients_excel(url);
        recorde.setTemplatecode(templateCode);
        recorde.setAmount(amount);

        //创建一个id
        String zid = z.newNumber();
        recorde.setZid(zid);
        recorde.setNumber(zid);
        recorde.setCreate_time(DateUtil.getDateTime());

        sqlSession.insert("customer_notice_message_sends_insert", recorde);
    }
}
